package priv.abadstring.study.test.logprodmachine;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * LogProdMachineApplication
 *
 * @author aBadString
 * @date 2021-08-11 12:50:12
 */
@SpringBootApplication
@RestController
public class LogProdMachineApplication {
    public static void main(String[] args) {
        SpringApplication.run(LogProdMachineApplication.class, args);
    }

    private static final Logger LOGGER = LoggerFactory.getLogger(LogProdMachineApplication.class);

    @GetMapping
    public String home() {
        String s = "priv.abadstring.study.test.logprodmachine.LogProdMachineApplication#home()";
        LOGGER.info(s);
        return s;
    }
}
